﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCentents/Centents.Master" AutoEventWireup="true"
    CodeBehind="Member.aspx.cs" Inherits="School.UserCentents.Member" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="MainBody">
        <!-- 右侧开始 -->
        <div class="mainHeader">
            <div class="itopic">
                <img src="../images/body_side_icon_qzadd.gif">学校成员</div>
            <div class="iclass">
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="mainBodyTop">
            <div id="btns">
                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn_hover" OnClick="LinkButton1_Click">全部</asp:LinkButton>
                <asp:LinkButton ID="LinkButton6" runat="server" CssClass="btn" Visible="false" OnClick="LinkButton6_Click">代区</asp:LinkButton>
                <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" Visible="false" OnClick="LinkButton2_Click">校长</asp:LinkButton>
                <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn" OnClick="LinkButton3_Click">老师</asp:LinkButton>
                <asp:LinkButton ID="LinkButton4" runat="server" CssClass="btn" OnClick="LinkButton4_Click">学生</asp:LinkButton>
                <asp:LinkButton ID="LinkButton5" runat="server" CssClass="btn" OnClick="LinkButton5_Click">家长</asp:LinkButton>
            </div>
            <div id="Mbtns">
                <a href="AddMember.aspx" class="btn_up_photo">添加用户</a>
            </div>
            <div id="Msearch">
                <select name="atype">
                    <option value="nickname">昵称</option>
                    <option value="loginname">登录帐号</option>
                    <option value="tel">手机号</option>
                </select>
                <input type="text" value="" name="keyword" id="keyword">
                <asp:Button ID="Search" runat="server" Text="搜索" />
            </div>
        </div>
        <div class="mainBodyShow">
            <table border="0" cellpadding="0" cellspacing="0" id="UserAddList">
                <tbody>
                    <tr>
                        <th class="th1">
                            登录ID
                        </th>
                        <th class="th3">
                            昵称
                        </th>
                        <th class="th2">
                            手机
                        </th>
                        <th class="th3">
                            创建时间
                        </th>
                        <th class="th5">
                            用户组
                        </th>
                        <th class="th6">
                            操作
                        </th>
                    </tr>
                    <asp:Repeater ID="Repeater1" runat="server" onitemcommand="Repeater1_ItemCommand" onitemdatabound="Repeater1_ItemDataBound">
                        <ItemTemplate>
                            <tr>
                                <td class="td1">
                                    <%#Eval("MembeLoginName")%>
                                </td>
                                <td class="td3">
                                    <%#Eval("MemberName")%>
                                </td>
                                <td class="td2">
                                    <%#Eval("Phone")%>
                                </td>
                                <td class="td3">
                                    <%--<%# DateTime.Parse(Eval("CreateTime").ToString()).ToString("yyyy-MM-dd")%>--%>
                                </td>
                                <td class="td5">
                                    <asp:Label ID="lbTypeID" runat="server" Text='<%#Eval("UserTypeID")%>'></asp:Label>
                                </td>
                                <td class="td6">
                                     <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Edit" CommandArgument='<%#Eval("ID")%>'>修改</asp:LinkButton> | 
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Del" CommandArgument='<%#Eval("ID")%>'
                                       OnClientClick="return confirm(&#39;确认要删除吗(不可恢复)？&#39;)">删除</asp:LinkButton>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <webdiyer:AspNetPager CssClass="" CurrentPageButtonClass="cpb" ID="AspNetPager1"
                runat="server" AlwaysShow="True" FirstPageText="首页" Font-Size="12px" LastPageText="尾页"
                NextPageText="【下一页】 " PageSize="10" PrevPageText="【上一页】" ShowBoxThreshold="11"
                TextAfterInputBox="" TextBeforeInputBox="" UrlPaging="True" CustomInfoHTML="共%PageCount%页，第%CurrentPageIndex%页"
                ShowCustomInfoSection="Left" ShowPageIndexBox="Never" ShowFirstLast="False" ShowPrevNext="False">
            </webdiyer:AspNetPager>
        </div>
        <!-- 右侧结束 -->
    </div>
</asp:Content>
